<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
	<CodeSnippet Format="1.0.0">
		<Header>
			<Title>bindableprop</Title>
			<Shortcut>bindprop</Shortcut>
			<Description>BindableProperty创建</Description>
			<Author>Microsoft Corporation</Author>
			<SnippetTypes>
				<SnippetType>Expansion</SnippetType>
				<SnippetType>SurroundsWith</SnippetType>
			</SnippetTypes>
		</Header>
		<Snippet>
			<Declarations>
				<Literal>
					<ID>type</ID>
					<Default>int</Default>
					<ToolTip>类型</ToolTip>
				</Literal>
				<Literal>
					<ID>currClass</ID>
					<Default>class</Default>
					<ToolTip>当前的class名字</ToolTip>
				</Literal>
				<Literal>
					<ID>propname</ID>
					<Default>prop</Default>
					<ToolTip>名字</ToolTip>
				</Literal>
			</Declarations>
			<Code Language="csharp"><![CDATA[
			        public static readonly BindableProperty $propname$Property = BindableProperty.Create("$propname$", typeof($type$), typeof($currClass$));
					public $type$ $propname$ { get => ($type$)GetValue($propname$Property); set => SetValue($propname$Property, value); }
			]]>
			</Code>
		</Snippet>
	</CodeSnippet>
</CodeSnippets>
